<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> 
<head>
<meta charset="UTF-8"/>
<title>表中所有用户的记录</title>
</head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

<body>
     <table>
     <tr><th>ID</th><th>用户名</th></tr>
     <tr th:each="goodInfo,status:${list}">
     <td><a th:href="@{init5?(userId=${goodInfo.userId})}"><span th:text="${goodInfo.userId}">12</span></a></td>
     <td><a th:href="@{init7(userId=${goodInfo.userId},userName=${goodInfo.userName})}"><span th:text="${goodInfo.userName}">12</span></a></td>
     </tr>
     </table>
</body>
</html>